import request from '@/utils/request'

export default {

    /**
     * 根据视频id获取播放凭证
     * @param {视频id} vid 
     * @returns 播放凭证
     */
  getPlayAuth(vid) {
    return request({
      url: `/eduvideo/vod/getPlayAuth/${vid}`,
      method: 'get'
    })
  }

}